
<!-- SELECT2 EXAMPLE -->
<div class="box box-default">
	<div class="box-header with-border">
		<h3 class="box-title">添加菜单</h3>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>上级菜单：<!--{echo $parent['title']?:"一级菜单";}--></small>
	</div>
	<!-- /.box-header -->
	<div class="box-body">
		<div class="row">
			<div class="col-xs-8">
				<form class="form-horizontal" action="/manage/menu/save" method="post" name="myform" id="myform">
					<div class="form-group">
						<label class="col-xs-2 non-rpad control-label" for="tag">菜单标识：</label>
						<div class="col-xs-6 non-lrpad" style="line-height: 24px">
							<input type="text" required name="tag" id="tag" class="form-control" value="<!--{$data['tag']}-->" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-2 non-rpad control-label" for="name">菜单名称：</label>
						<div class="col-xs-6 non-lrpad" style="line-height: 24px">
							<input type="text" required name="name" id="name" class="form-control" value="<!--{$data['name']}-->" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-2 non-rpad control-label" for="url">链接：</label>
						<div class="col-xs-6 non-lrpad" style="line-height: 24px">
							<input type="text" required name="url" id="url" class="form-control" value="<!--{$data['url']}-->" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-2 non-rpad control-label" for="url">排序：</label>
						<div class="col-xs-6 non-lrpad" style="line-height: 24px">
							<input type="text" required name="sort" id="sort" class="form-control" value="<!--{$data['sort']}-->" />
						</div>
					</div>
					<div class="form-group">
					<input type="hidden" name="pid" value="<!--{$parent['id']}-->">
					<!--{if($id)}-->
					<input type="hidden" name="id" value="<!--{$id}-->">
					<!--{/if}-->
						<input class="col-md-2 col-md-offset-5 btn btn-success" type="submit" value="提交" />
					</div>
				</form>
			</div>

		</div>
		<!-- /.row -->
	</div>
	<!-- /.box-body -->
</div>
<!-- /.box -->